package com.antoco.operation.bigscreen.model.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 管道健康情况统计
 */
@Entity
@Table(name = "pipe_health_tj")
@Data
public class PipeHealthTj implements AbstractEntity<Long> , Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;

    /**
     * 统计实例标识
     */
    @Column(name = "tj_ins_id")
    private String tjInsId;

    /**
     * 异常总数
     */
    @Column(name = "exception_num")
    private String exceptionNum;

    /**
     * 淤积数
     */
    @Column(name = "yuji_num")
    private String yujiNum;

    /**
     * 破损数
     */
    @Column(name = "posun_num")
    private String posunNum;

    /**
     * 错位数
     */
    @Column(name = "cuowei_num")
    private String cuoweiNum;

    /**
     * 堵塞数
     */
    @Column(name = "duse_num")
    private String duseNum;

    /**
     * 正常数占比
     */
    @Column(name = "normal_zb")
    private String normalZb;

    /**
     * 预警数占比
     */
    @Column(name = "alarm_zb")
    private String alarmZb;

    /**
     * 告警数占比
     */
    @Column(name = "warn_zb")
    private String warnZb;

}
